package hu.diploma.web.shared.webvos;

import java.util.List;

import com.extjs.gxt.ui.client.data.BaseModelData;

public class ContactWebVo extends BaseModelData {
	private Long id;
	private String displayName;
	private String phone;
	private String email;
	private String groups;
	private StructuredNameWebVo nameWebVo;
	private List<PersonalDataWebvo> personalDatas;
	private List<AddressWebVo> addressWebVos;

	private String group;

	public void setDisplayName(String displayName) {
		this.set("displayName", displayName);
	}

	public String getDisplayName() {
		return this.get("displayName");
	}

	public void setEmail(String email) {
		this.set("email", email);
	}

	public String getEmail() {
		return this.get("email");
	}

	public void setPhone(String phone) {
		this.set("phone", phone);
	}

	public String getPhone() {
		return this.get("phone");
	}

	public void setGroup(String group) {
		this.set("group", group);
	}

	public String getGroup() {
		return this.get("group");
	}

	public void setPersonalDatas(List<PersonalDataWebvo> personalDatas) {
		this.set("personalDatas", personalDatas);
	}

	public List<PersonalDataWebvo> getPersonalDatas() {
		return this.get("personalDatas");
	}

	public void setId(Long id) {
		this.set("id", id);
	}

	public Long getId() {
		return this.get("id");
	}

	public void setNameWebVo(StructuredNameWebVo nameWebVo) {
		this.nameWebVo = nameWebVo;
	}

	public StructuredNameWebVo getNameWebVo() {
		return nameWebVo;
	}

	@Override
	public String toString() {
		return "PersonWebVo [Id=" + id + ", displayName=" + displayName + ", phone=" + phone + ", email=" + email
				+ ", nameWebVo=" + nameWebVo + ", personalDatas=" + personalDatas + ", group=" + group + "]";
	}

	public void setAddressWebVos(List<AddressWebVo> addressWebVos) {
		this.addressWebVos = addressWebVos;
	}

	public List<AddressWebVo> getAddressWebVos() {
		return addressWebVos;
	}

	public void setGroups(String groups) {
		this.set("groups", groups);
	}

	public String getGroups() {
		return this.get("groups");
	}

}
